﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Insert_UpdateSales.ascx.cs" Inherits="Share_Insert_UpdateSales" %>
<asp:Label ID="lblTitle" runat="server"></asp:Label>

<div class="competition_box">
        <div class="menuTitle">Competitions Details</div>
         <div class="cleaner_with_height"></div> 
<asp:DataList ID="dtlSalePosting" runat="server" 
            onupdatecommand="dtlSalePosting_UpdateCommand">
<ItemTemplate>
<img src='../<%# Eval("Url")%>' alt="" width="100px" height="150px" />
 <div class="competition_info">
<div class="exhibition_item_left"> Posting Name:</div>
 <div class="exibhition_item_right" ><%# Eval("PostingName") %></div><br />
<div class="exhibition_item_left">Price:</div> <div class="exibhition_item_right" ><%# Eval("Price") %><br /></div>
<div class="exhibition_item_left">Description:</div><div class="exibhition_item_right" ><%# Eval("Description") %><br /></div>
<div class="exhibition_item_left">Quotations:</div><div class="exibhition_item_right" ><%# Eval("Quotations") %><br /></div>
<div class="exhibition_item_left">Status:</div>
<div class="exibhition_item_right" >
<asp:RadioButton ID="radSelling" runat="server" Text="Selling" 
    GroupName="Group1" />
                <asp:RadioButton ID="radSold" runat="server" Text="Sold" 
    GroupName="Group1" /></div>
    <asp:Label ID="lblSta" runat="server" Font-Size="Small" Visible="false"  Text='<%# Eval("Status") %>'></asp:Label>
    <br />

<asp:Label ID="lblInvi" runat="server" Font-Size="Small" Visible="false"  Text='<%# Eval("Paid") %>'></asp:Label><br />
<div class="exhibition_item_left"><asp:Label ID="lblPaid" Font-Size="Small"  Text="Paid" runat="server"></asp:Label></div>
              <div class="exibhition_item_right">   <asp:RadioButton ID="radPaid" runat="server" Text="Paid" 
    GroupName="Group2" />
                <asp:RadioButton ID="radNotPaid" runat="server" Text="Not Yet" 
    GroupName="Group2" /></div>
    <div class="cleaner"></div>
<div class="exhibition_item_left">Sell date:</div><div class="exibhition_item_right" ><%# Eval("SellDate") %><br /></div>
<div class="exhibition_item_left">Customer Name:</div><div class="exibhition_item_right" ><%# Eval("FullName") %><br /></div>
<div class="exhibition_item_left">Birthday: </div><div class="exibhition_item_right" ><%# Eval("Birthday") %><br /></div>
<div class="exhibition_item_left">Phone: </div><div class="exibhition_item_right" ><%# Eval("Phone") %></div><br /></div>
</div>
<asp:Button ID="btnUpdate" CommandName="Update" runat="server" Text="Update"  />
<asp:Button ID="btnCancel" runat="server" Text="Cancel" 
    onclick="btnCancel_Click" />
   
</ItemTemplate>
</asp:DataList>


    </div>